package com.example.passport.entity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Task {
    public static final String USER = "user";
    public static final String DEVICE = "device";


    public static List<Map<String, String>> list() {
        Map<String, String> map1 = new HashMap<>();
        map1.put("code", USER);
        map1.put("name", "用户管理");
        Map<String, String> map2 = new HashMap<>();
        map2.put("code", DEVICE);
        map2.put("name", "设备管理");
        List<Map<String, String>> mapList = new ArrayList();
        mapList.add(map1);
        mapList.add(map2);
        return mapList;
    }
}
